<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/home/include/init_home.jsp" %>
<%
	String enjoy_gubn	= StringUtil.nvl(request.getParameter("enjoy_gubn"));
	String enjoy_id		= StringUtil.nvl(request.getParameter("enjoy_id"));

	HashMap param = new HashMap();

	HomeDAO dao = new HomeDAO();
	param.put("enjoy_id", enjoy_id);


	HashList list = dao.selectEnjoyDetail(param);


%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= HOME_NAME %></title>
<style type="text/css">
</style>
<link href="../css/home.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <%@ include file="/home/include/top_menu.jsp" %>
  <tr>
    <td valign="top" align="center" class="sub_con"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <!--좌측네비 시작-->
        <%@ include file="/home/include/option_menu.jsp" %>
        <!--좌측네비 끝-->
        <td width="50"></td>
        <!--컨텐츠 시작-->
        <td valign="top" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="../images/sub/03_title_01.gif" alt="선택관광" width="99" height="31" /><img src="../images/sub/04_title_sub.gif" width="266" height="18" /></td>
                <td align="right" valign="bottom"></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="5" colspan="3"><img src="../images/sub/sub_line.gif" width="723" height="5" /></td>
          </tr>
          <tr>
            <td height="30" colspan="3"></td>
          </tr>
          <tr>
            <td colspan="3" class="sub_top_line"></td>
          </tr>
          <tr>
            <td ></td>
            <td width="721"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="6"></td>
              </tr>
              <tr>
                <td class="sub_title"><%= list.get("enjoy_name", 0) %></td>
              </tr>
			  <tr height="20px"><td></td></tr>
			  <tr>
                <td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="260" valign="top">
							<img src="<%= list.get("img_path_00",0) %>" width="260" height="180" style="border:3px solid #dddddd"/>
						</td>
                        <td valign="top" style="padding-left:20px">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr height="24px">
							  <td class="tex1" width="70" valign="top"><strong>장 &nbsp;&nbsp;&nbsp; 소 :</strong></td>
          	  				  <td class="tex1" valign="top"><%= list.get("location",0) %></td>
							</tr>
							<tr height="24px">
							  <td class="tex1" valign="top"><strong>소요시간 :</strong></td>
          	  				  <td class="tex1" valign="top"><%= list.get("take_time",0) %></td>
							</tr>
							<tr height="22px">
							  <td class="tex1"  valign="top" ><strong>가 &nbsp;&nbsp;&nbsp; 격 :</strong></td>
							  <td valign="top">
							  					<table border="0" cellspacing="0" cellpadding="0">
<%			for (int i = 0; i < list.size(); i++) {

%>
						<tr height="23px">
							<td class="tex1" style="<%= !"".equals(list.get("price_name",i)) ? "padding-right:10px" : "" %>" valign="top"><%= list.get("price_name",i) %></td>
          	  				<td class="tex1" style="width:80px; padding-right:10px" valign="top">성인 <font color="#FF6699"><b>$<%= StringUtil.toPrice(list.get("adult_sales_price",i)) %></b></font></td>
          	  				<td class="tex1" style="width:80px;" valign="top">소아 <font color="#FF6699"><b>$<%= StringUtil.toPrice(list.get("kid_sales_price",i)) %></b></font></td>
          	  			</tr>
          	  	<% 	if (list.size() > 1) { %>

          	  	<%	} %>
<%			}	%>
          	  		</table>

							  </td>
							</tr>
							<tr height="24px">
							  <td class="tex1" valign="top"><strong>소아기준 :</strong></td>
          	  				  <td class="tex1" valign="top"><%= list.get("kid_cond",0) %></td>
							</tr>
							<tr height="24px">
							  <td class="tex1" valign="top"><strong>이동수단 :</strong></td>
          	  				  <td class="tex1" valign="top"><%= list.get("transfer",0) %></td>
							</tr>
				<%	if (!"".equals(list.get("enjoy_exclude",0))) { %>
							<tr height="24px">
							  <td class="tex1" valign="top"><strong>휴 무 일 :</strong></td>
          	  				  <td class="tex1" valign="top"><%= list.get("enjoy_exclude",0) %></td>
							</tr>
				<%	} %>
				<%	if (!"".equals(list.get("use_limit",0))) { %>
							<tr height="24px">
							  <td class="tex1" valign="top"><strong>취소변경 :</strong></td>
          	  				  <td class="tex1" valign="top"><%= list.get("use_limit",0) %></td>
							</tr>
				<%	} %>
						    </table>
						</td>
                      </tr>
                    </table>
				  </td>
				</tr>

				<tr height="20px"><td></td></tr>

              <tr>
                <td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">

			<%	if (!"".equals(list.get("enjoy_detail",0))) { %>
                      <tr>
                        <td class="sub_title_02"><img src="../images/sub/con_txt_006.gif" alt="상품안내"  /></td>
                      </tr>
                      <tr>
                      <!--준비물 영역-->
                        <td style="padding-top:10px"><%= list.get("enjoy_detail",0) %></td>
                      </tr>
                      <tr>
                        <td height="25"></td>
                      </tr>
             <%		} %>

              <%	if (!"".equals(list.get("enjoy_info",0))) { %>
                      <tr>
                        <td class="sub_title_02"><img src="../images/sub/con_txt_001.gif" alt="상품정보"  /></td>
                      </tr>
                      <tr>
                      <!--상품정보 영역-->
                        <td style="padding-top:10px"><%= list.get("enjoy_info",0) %></td>
                      </tr>
                      <tr>
                        <td height="25"></td>
                      </tr>
             <%		} %>

			<%	if (!"".equals(list.get("enjoy_schedule",0))) { %>
                      <tr>
                        <td class="sub_title_02"><img src="../images/sub/con_txt_002.gif" alt="상세일정"  /></td>
                      </tr>
                      <tr>
                      <!--상세일정 영역-->
                        <td style="padding-top:10px"><%= list.get("enjoy_schedule",0) %></td>
                      </tr>
                      <tr>
                        <td height="25"></td>
                      </tr>
             <%		} %>


                      <!--객실 이미지 시작-->
					  <tr>
                        <td class="sub_title_02"><img src="../images/sub/con_txt_005.gif" alt="포토갤러리"  /></td>
                      </tr>
                      <tr>
                        <td style="padding-top:10px"><%= list.get("enjoy_pic",0) %></td>
                      </tr>
                      <!--객실이미지 끝-->
                    </table>
				</td>
			</tr>




              <tr>
                <td height="30"></td>
              </tr>
            </table></td>
            <td ></td>
          </tr>
          <tr>
            <td height="60" colspan="3"></td>
          </tr>
        </table></td>
        <!--컨텐츠 끝-->
      </tr>
    </table></td>
  </tr>
  <!--풋터 시작-->
	<%@ include file="/home/include/footer.jsp" %>
  <!--풋터 끝-->
</table>
</body>
</html>
